import { gbs } from '@/config/';
export default {
    methods: {
        toDowload() {
            this.$vux.confirm.show({
                title: '提示',
                content: '了解更多内容，请下载星诊所APP',
                onShow() {
                    console.log('plugin show')
                },
                onHide() {
                    console.log('plugin hide')
                },
                onCancel() {
                    console.log('plugin cancel')
                },
                onConfirm() {
                    this.$router.push('/clients/download')
                    // window.location.href = gbs.appDowloadUrl
                }
            })
        },
        downloadApp() {
            this.$router.push('/clients/download')
        }
    }
}